import axios from 'axios'
axios.defaults.timeout = 5000 //请求超时5秒
axios.defaults.baseURL = 'https://autumnfish.cn/' //请求base url

export function islogina(query) {
  return request({
    url: '/user/detail',
    method: 'get',
    params: { uid: query }
  })
}
export function createMedia(data) {
  return request({
    url: '/vue-element-admin/media/create',
    method: 'post',
    data
  })
}
